﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace wlm.wsx.src.wlm.Newwsx
{
    class OperatorMinusMinus:OperatorBase
    {

        public override double OnCalculate(double[] operands)
        {
            if (operands == null || operands.Length == 0)
                return Double.NaN;

            int op1 = (int)operands[0];

            op1--;

            return op1;
        }
    }
}
